package edu.wpi.cs509.ui.intfc;

/**
 * This interface defines the methods that the Stratego UI will
 * invoke to retrieve the Stratego game rules
 * 
 * @author afoltan
 *
 */
public interface RulesInterface {

	/**
	 * Returns the string text for the specified rules page
	 * @param pagenum - the page number to fetch
	 * @return
	 * @throws IllegalArgumentException - if the page number is out of range
	 */
	String getPage( int pagenum ) throws IllegalArgumentException;
	
	/**
	 * Returns the total number of pages in the rule book
	 * @return
	 */
	int getTotalPageCount();
	
}
